package com.openlogic.datasource.api.dto;

import java.io.Serializable;

import org.noear.solon.validation.annotation.NotNull;

import com.openlogic.common.core.web.validate.V_A_E;
import com.openlogic.common.core.web.validate.V_E;

/**
* @ClassName: ExcelDataSourceDto
* @Description: Excel数据源Dto
* @author weiyongpeng
* @date 2024年11月26日 下午5:38:12
 */
public class ExcelDataSourceDto implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@NotNull(message = "数据源ID不能为空" , groups = V_E.class )
	private String id;

	/**
	 * 启用状态
	 */
	@NotNull(message = "数据源名称" , groups = V_A_E.class )
	private String name;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
